import java.io.File;

public class Test5 {
    public static void main(String[] args) {
        File file = new File("f:/test");
        File[] ss = file.listFiles();
        for(File str : ss){
            System.out.println(str);
        }
    }
}
